﻿<%@ Page Title="JohnnySins :: MY VIDEOS" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="MyVideos.aspx.cs" Inherits="JohnnySins.MyVideos" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <script type="text/javascript" src="<%=ResolveClientUrl("~") %>jwplayer/jwplayer.js"></script>
    <script type="text/javascript">jwplayer.key = '<%=jwplayerKey%>';</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <!--start my videos-->
        <div class="container">
        	<div class="page_content">
                <div class="page_title">
                    <h1>My Videos</h1>
                </div>
                <div class="row">

                <asp:Repeater runat="server" ID="rptScene" OnItemDataBound="rptScene_ItemDataBound">
                <ItemTemplate>
                    <div class="col-sm-4 col-md-4 col-lg-4 jonny_thumb_features">
                        <div class="video_fream">
                            <div id="div_video_<%# Eval("MyVideoId")%>">
                                <script type="text/javascript">
                                    jwplayer('div_video_<%# Eval("MyVideoId")%>').setup({
                                        file: '<%=ResolveClientUrl("~") %>Files/MyVideos/Preview/<%# Eval("PhysFileName")%>',
                                        image: '<%=ResolveClientUrl("~") %>Files/MyVideos/Poster/<%# Eval("PhysPoster")%>',
                                        width: 290,
                                        height: 325,
                                        skin: "glow",
                                        title: '<%# Eval("MyVideoTitle")%>'
                                    });
                                    jwplayer('div_video_<%# Eval("MyVideoId")%>').onPlay(function (event) { $('#div_desc_<%# Eval("MyVideoId")%>').hide(); });
                                </script>
                            </div>
                            <div class="video_short_description" id="div_desc_<%# Eval("MyVideoId")%>"><p><%# Eval("MyVideoTitle")%></p></div>
                        </div>
                        <div class="clearfix"></div>
                        <!--end video quality like button-->                        
                    </div>
                </ItemTemplate>
                </asp:Repeater>
                    
                    
                </div>
            </div>
        </div>
        <!--end my videos-->
</asp:Content>
